home *** CD-ROM | disk | FTP | other *** search
- ; CDmax - clark_tisdale@mindspring.com
- ; Thanks to Luke Stephenson (lstephenson.tcs.on.ca) for getting this install started
-
- [Version]
- Signature="$CHICAGO$"
-
- ; W h a t t o i n s t a l l
- [DefaultInstall]
- CopyFiles=copy.prog, copy.inf
- UpdateInis=Shortcut.Add
- AddReg=Reg.Add, Reg.Uninstall95.Add, Reg.Run
- Uninstall=DefaultUninstall
-
- [DefaultInstall.ntx86]
- CopyFiles=copy.prog, copy.inf
- UpdateInis=Shortcut.Add
- AddReg=Reg.Add, Reg.UninstallNT.Add, Reg.Run
- Uninstall=DefaultUninstall.ntx86
-
- ; W h a t t o r e m o v e
- [DefaultUninstall]
- DelFiles = copy.prog, copy.inf
- UpdateInis = Shortcut.Remove
- AddReg = Reg.Restore
- DelReg = Reg.Remove, Reg.Uninstall95.Remove, Reg.UninstallNT.Remove
-
- ; W h e r e t h e f i l e s c o m e f r o m
- [SourceDisksNames]
- 1="CDmax","",1
-
- [SourceDisksFiles]
- CDmax.exe=1
- CDmax.inf=1
- ReadMe.txt=1
-
- ; F i l e c o p y i n g s e c t i o n s
- [DestinationDirs]
- copy.prog=24,%PROGRAM_FOLDER%
- copy.inf=17
-
- ; w h a t f i l e s a r e c o p i e d w h e r e
- [copy.prog]
- CDmax.exe
- ReadMe.txt
-
- [copy.inf]
- CDmax.inf
-
- ; A d d S h o r t c u t
- [Shortcut.Add]
- setup.ini, progman.groups,,"group1=%PROGMAN_FOLDER%"
- setup.ini, group1,,"""%PROGMAN_DESC%"",""""""%24%\%PROGRAM_FOLDER%\CDmax.exe"""""",,,,""%24%\%PROGRAM_FOLDER%"""
-
- ; R e m o v e S h o r t c u t
- [Shortcut.Remove]
- setup.ini, progman.groups,,"group1=%PROGMAN_FOLDER%"
- setup.ini, group1,,"""%PROGMAN_DESC%""
-
- ; R e g i s t r y A d d
- [Reg.Add]
- HKCR,AudioCD,,,"AudioCD"
- HKCR,AudioCD,"EditFlags",1,02,00,00,00
- HKCR,AudioCD\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
- HKCR,AudioCD\shell,,,"play"
- HKCR,AudioCD\shell\play,,,"&Play"
- HKCR,AudioCD\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe /play %1"
- HKCR,.cda,,2,cdafile
- HKCR,cdafile,,,"CD Audio Track"
- HKCR,cdafile\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
- HKCR,cdafile\shell,,,"play"
- HKCR,cdafile\shell\play,,,"&Play"
- HKCR,cdafile\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe -play %1"
-
- [Reg.Uninstall95.Add]
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 %17%\CDmax.inf"
-
- [Reg.UninstallNT.Add]
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%11%\rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 4 %17%\CDmax.inf"
-
- ; R e g i s t r y R e m o v e
- [Reg.Remove]
- HKCR,AudioCD\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
- HKCR,AudioCD\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe /play %1"
- HKCR,cdafile\DefaultIcon,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe,0"
- HKCR,cdafile\shell\play\command,,,"%24%\%PROGRAM_FOLDER%\CDmax.exe -play %1"
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,,,
-
- [Reg.Uninstall95.Remove]
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 %17%\CDmax.inf"
-
- [Reg.UninstallNT.Remove]
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,DisplayName,,"%REMOVE_DESC%"
- HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDmax,UninstallString,,"%11%\rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 4 %17%\CDmax.inf"
-
- ; R e g i s t r y R e s t o r e
- [Reg.Restore]
- HKCR,AudioCD\DefaultIcon,,,"%11%\shell32.dll,40"
- HKCR,AudioCD\shell\play\command,,,"%11%\cdplayer.exe /play %1"
- HKCR,cdafile\DefaultIcon,,,"%11%\cdplayer.exe,1"
- HKCR,cdafile\shell\play\command,,,"%11%\cdplayer.exe -play %1"
-
- ; R u n o n c e i n s t a l l e d
- [Reg.Run]
- HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,CDmax,,"%24%\%PROGRAM_FOLDER%\CDmax.exe -SETUP"
-
- ; L o c a l i s e d s t u f f
- [Strings]
- PROGRAM_FOLDER = "Progra~1\CDmax"
- PROGMAN_FOLDER = ""
- PROGMAN_DESC = "CDmax" ; Shortcut name
- REMOVE_DESC = "CDmax"
-